﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

namespace SLAssetSystem
{
    public class JsonData:UnityEngine.Object
    {
        public string content;
        public void Init(string content)
        {
            this.content = content;
        }

        public T GetData<T>()
        {
            return JsonUtility.FromJson<T>(content);
        }
    }
}
